package com.itheima.io2.print;

import java.io.FileNotFoundException;
import java.io.PrintStream;

/**
 * @author Anomaly
 * @date 2023/2/10 0:20
 */
public class SystemPrintDemo {
    public static void main(String[] args) throws FileNotFoundException {
        System.setOut(new PrintStream("file-io/src/test04.txt"));
        System.out.println("aaa");
        System.out.println("bbb");
        System.out.println("ccc");
    }
}
